console: allocate ring buffer earlier
authorJan Beulich <jbeulich@suse.com>
Mon, 15 Dec 2014 08:30:05 +0000 (09:30 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 15 Dec 2014 08:30:05 +0000 (09:30 +0100)
commit2676bc915157ab474ee478d929b0928cf696b385
tree2689a158f2a72827484cac8116e40cffc68d13af
parent7e73a6e7f12ae080222c5d339799905de3443a6e
console: allocate ring buffer earlier

... when "conring_size=" was specified on the command line. We can't
really do this as early as we would want to when the option was not
specified, as the default depends on knowing the system CPU count. Yet
the parsing of the ACPI tables is one of the things that generates a
lot of output especially on large systems.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com> (ARM and generic bits)
Release-Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/arm/setup.c
xen/arch/x86/setup.c
xen/drivers/char/console.c
xen/include/xen/console.h